/**
 * 文件名称:ChipmodelServiceImpl.java
 * 文件版权:ChinaParasol Technologies Co., Ltd. Copyright 1998-2020, All rights reserved
 * 文件描述:<描述>
 * 修改作者:LiXiangDong
 * 修改时间:Jan 7, 2013
 */
package com.parasol.hcerp.service.chipmodel.service.impl;

import java.util.List;

import com.parasol.hcerp.service.chipmodel.dao.ChipmodelDao;
import com.parasol.hcerp.service.chipmodel.domain.ChipmodelBean;
import com.parasol.hcerp.service.chipmodel.service.ChipmodelService;

/**
 * 
 * @author  LiXiangDong
 * @version V1.0
 */
public class ChipmodelServiceImpl implements ChipmodelService
{
    
    private ChipmodelDao chipmodelDao = null;
    
    public ChipmodelDao getChipmodelDao()
    {
        return chipmodelDao;
    }

    public void setChipmodelDao(ChipmodelDao chipmodelDao)
    {
        this.chipmodelDao = chipmodelDao;
    }

    public void deleteForChipmodel(String chipmodelid)
    {
        chipmodelDao.deleteForChipmodel(chipmodelid);
    }
    
    public ChipmodelBean queryForChipmodel(String chipmodelid)
    {
        return chipmodelDao.queryForChipmodel(chipmodelid);
    }
    
    public int queryForExist(ChipmodelBean chipmodelBean)
    {
        return chipmodelDao.queryForExist(chipmodelBean);
    }
    
    public List<ChipmodelBean> queryForList()
    {
        return chipmodelDao.queryForList();
    }
    
    public void saveForChipmodel(ChipmodelBean chipmodelBean)
    {
        chipmodelDao.saveForChipmodel(chipmodelBean);
    }
    
    public void updateForChipmodel(ChipmodelBean chipmodelBean)
    {
        chipmodelDao.updateForChipmodel(chipmodelBean);
    }

    public int queryForUse(String chipmodelid)
    {
        return chipmodelDao.queryForUse(chipmodelid);
    }
    
}
